home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / e_os208 / example1 / example1.asm next >
Assembly Source File  |  1996-06-09  |  986b  |  29 lines

  1. ;╔══════════════════════════════════════════════════════════════════════════╗
  2. ;║                                                                          ║
  3. ;║ This example show how to use EOSLITE                                     ║
  4. ;║                                                                          ║
  5. ;║ Tabs : 13 21 29 37                                                       ║
  6. ;║                                                                          ║
  7. ;╚══════════════════════════════════════════════════════════════════════════╝
  8.  
  9. Locals
  10. .386
  11. CODE32 SEGMENT PUBLIC PARA 'CODE' USE32
  12. ASSUME  CS:CODE32,DS:CODE32,ES:CODE32
  13.  
  14. INCLUDE ..\RESOURCE\EOS.INC
  15.  
  16. Msg         db '    ■ Hello world...',13,10,36
  17.  
  18.  
  19. Start32:
  20.             mov ah,9
  21.             mov edx,O Msg
  22.             int 21h                 ; Call Display String
  23.             mov ax,4c00h
  24.             int 21h                 ; Exit with Error Code 0
  25.  
  26.  
  27.             CODE32 ENDS
  28.  
  29.             END